<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<p id="js">JavaScript</p>
<div id="list">
    <p id="java">Java</p>
    <p id="se">JavaSE</p>
    <p id="ee">JavaEE</p>
</div>

<script>
    let js = document.getElementById('js');
    let list = document.getElementById('list');
    //创建一个新的节点 p标签
    let newP = document.createElement('p');
    newP.id = 'newP';
    newP.innerText = 'Hello,qinqin';
    //追加新节点
    list.append(newP);

</script>

</body>
</html>